package com.uyayo.framework.excelhelper;

import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Workbook;

/**
 * Excel样式抽象类
 * @author hfj
 *
 */
public abstract class ExcelStyle {

    /**
     * 标题样式
     * @param workbook
     * @return
     */
    public abstract CellStyle getTitleStyle(Workbook workbook);

    /**
     * 表头样式
     * @param workbook
     * @return
     */
    public abstract CellStyle getHeadersStyle(Workbook workbook);

    /**
     * 内容样式
     * @param workbook
     * @return
     */
    public abstract CellStyle getContentStyle(Workbook workbook);
}
